<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>借阅记录信息</title>
    <link rel="stylesheet" th:href="@{/css/pintuer.css}">
    <link rel="stylesheet" th:href="@{/css/admin.css}">
    <script th:src="@{/js/jquery.js}"></script>
    <script th:src="@{/js/pintuer.js}"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>确认借阅信息</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" th:action="@{/book/update}">
            <div class="form-group">
                <div class="label">
                    <label>书籍编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" th:value="${m.bookID}" readonly="readonly" name="bookID" data-validate="required:请输入书籍编号" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>书名：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" th:value="${m.title}"  name="title" data-validate="required:请输入书名" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>作者：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" th:value="${m.author}" name="author" data-validate="required:请输入作者" />
                    <div class="tips"></div>
                </div>
            </div>

<!--            <div class="form-group">-->
<!--                <div class="label">-->
<!--                    <label>书号：</label>-->
<!--                </div>-->
<!--                <div class="field">-->
<!--                    <input type="text" class="input w50" th:value="${m.ISBN}" name="ISBN" data-validate="required:请输入书号" />-->
<!--                    <div class="tips"></div>-->
<!--                </div>-->
<!--            </div>-->

            <div class="form-group">
                <div class="label">
                    <label>图书类别：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" th:value="${m.category}" name="category" data-validate="required:请输入图书类别" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>价格：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" th:value="${m.price}" name="price" data-validate="required:请输入图书状态（空闲中、已借出、已售出）" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>数量：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" th:value="${m.counts}" name="counts" data-validate="required:请输入图书数量" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>状态：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" th:value="${m.status}" name="status" data-validate="required:请输入图书状态" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body>
</html>